<ion-view view-title="{{title}}" class="logistics">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
		<ion-nav-buttons side="right">
			<button class="button button-clear saveText" on-tap="submit_data()">保存</button>
		</ion-nav-buttons>
	</ion-nav-bar>
	
	<!--描述：滑动块-->
	<ion-content>
		<div class="head line-bottom">
			<i class="iconfont icon-jinlingyingcaiwangtubiao59 assertive"></i><span class="name">编辑运费模板</span>
		</div>

		<div class="list logis-edit">
			<div class="item item-toggle">是否开启<label class="toggle toggle-assertive"><input type="checkbox" ng-model="scope.status" checked="scope.status"><div class="track"><div class="handle"></div></div></label></div>
			<label class="item item-input" ><span class="input-label">配送方式</span><input type="text" placeholder="请输入名称" ng-model="scope.name"></label>
			
			<li class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="textLable"><span class=" assertive">*</span>物流公司</div>
					<div class="input-value" ng-click="doSelectLogist()">{{scope.comp_select.comp_name}}</div>
			</li>
			
			<label class="item item-input-inset" style="padding: 6px 0 0px 16px;;" on-tap="select_kind(1)">
			      <span class=" assertive">*</span>类型
			      <label class="checkbox checkbox-square padding-0" style="margin-left: 1.5rem;" >
			      	<input type="checkbox" ng-model="scope.kind1"/>
			      </label>款到发货
			</label>
			<label class="item item-input-inset item-borderless" style="padding: 0px 0 5px 23px;;" on-tap="select_kind(2)">
			       <span class="invisible">类型</span>
			      <label class="checkbox checkbox-square padding-0" style="margin-left: 1.5rem;" >
			      	<input type="checkbox" ng-model="scope.kind2"/>
			      </label>货到付款<span class="font-small-my font-gray-my">(此方式无须再选择支付方式)</span>
			</label>
			<div class="item item-toggle"><span class=" assertive">*</span>是否运费自提点结算<label class="toggle toggle-assertive"><input type="checkbox" ng-model="scope.after_balance" ><div class="track"><div class="handle"></div></div></label></div>

			<li class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="textLable"><span class=" assertive">*</span>重量设置</div>
					<div class="input-value" ng-click="doSelectBaseWeight()">{{scope.base_weight_obj.name}}</div>
			</li>
			<li class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="textLable"><span class=" assertive">*</span>续重设置</div>
					<div class="input-value" ng-click="doSelectAddWeight()">{{scope.add_weight_obj.name}}</div>
			</li>
			<div class="item item-divider"><i class="icon ion-social-usd assertive"></i>&nbsp;默认配送费用</div>
			<label class="item item-input"><span class="input-label"><span class=" assertive">*</span>首重费用</span><input type="number" placeholder="请输入费用" ng-model="scope.base_cose"></label>
			<label class="item item-input"><span class="input-label"><span class=" assertive">*</span>续重费用</span><input type="number" placeholder="请输入费用" ng-model="scope.add_cose"></label>

		</div>

	</ion-content>
</ion-view>